package com.syni.mdd.sjb.common.datatreaure.entity.vo.rp.dataBankBusiness;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DataBankAnalysisProductRpVo {
    //商品销售排行
    private CommoditySalesRanking commoditySalesRanking = new CommoditySalesRanking();

    @Data
    public static class CommoditySalesRanking{
        private String title = "";
        private List<String> columns = new ArrayList<>();//昨日
        List<List<String>> yesRankingData = new ArrayList<>();
        //七天
        List<List<String>> sevenRankingData = new ArrayList<>();
        List<List<String>> thirdRankingData = new ArrayList<>();
        List<List<String>> halfYearRankingData = new ArrayList<>();
        private String commoditySalesBusinessAdvice = "本月的销量冠军是%s，不要忘记保证有足够商品库存噢";
    }

    @Data
    public static class Ranking{
        private String column1 = "";
        private String column2 = "";
        private String column3 = "";
        private String column4 = "";
    }

    //商品回购率排行
    private CommodityRepurchaseRate commodityRepurchaseRate = new CommodityRepurchaseRate();

    @Data
    public static class CommodityRepurchaseRate{
        private String title = "";
        private List<String> columns = new ArrayList<>();
        //昨日
        List<List<String>> yesRankingData = new ArrayList<>();
        //七天
        List<List<String>> sevenRankingData = new ArrayList<>();
        List<List<String>> thirdRankingData = new ArrayList<>();
        List<List<String>> halfYearRankingData = new ArrayList<>();
        private String commoditySalesBusinessAdvice = "无建议";
    }

    //商品转化率排行
    private CommodityConversionRate commodityConversionRate = new CommodityConversionRate();

    @Data
    public static class CommodityConversionRate{
        private String title = "";
        private List<String> columns = new ArrayList<>();
        //昨日
        List<List<String>> yesRankingData = new ArrayList<>();
        //七天
        List<List<String>> sevenRankingData = new ArrayList<>();
        List<List<String>> thirdRankingData = new ArrayList<>();
        List<List<String>> halfYearRankingData = new ArrayList<>();
        private String commoditySalesBusinessAdvice = "无建议";
    }


}
